3.309 \(\int \frac{x (d+e x)}{\left (a^2-c^2 x^2\right )^2} \, dx\)

Optimal. Leaf size=45 \[ \frac{d+e x}{2 c^2 \left (a^2-c^2 x^2\right )}-\frac{e \tanh ^{-1}\left (\frac{c x}{a}\right )}{2 a c^3} \]

[Out]

(d + e*x)/(2*c^2*(a^2 - c^2*x^2)) - (e*ArcTanh[(c*x)/a])/(2*a*c^3)

_______________________________________________________________________________________

Rubi [A]  time = 0.0585857, antiderivative size = 45, normalized size of antiderivative = 1., number of steps used = 2, number of rules used = 2, integrand size = 21, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.095 \[ \frac{d+e x}{2 c^2 \left (a^2-c^2 x^2\right )}-\frac{e \tanh ^{-1}\left (\frac{c x}{a}\right )}{2 a c^3} \]

Antiderivative was successfully verified.

[In]  Int[(x*(d + e*x))/(a^2 - c^2*x^2)^2,x]

[Out]

(d + e*x)/(2*c^2*(a^2 - c^2*x^2)) - (e*ArcTanh[(c*x)/a])/(2*a*c^3)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 12.0386, size = 34, normalized size = 0.76 \[ \frac{d + e x}{2 c^{2} \left (a^{2} - c^{2} x^{2}\right )} - \frac{e \operatorname{atanh}{\left (\frac{c x}{a} \right )}}{2 a c^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x*(e*x+d)/(-c**2*x**2+a**2)**2,x)

[Out]

(d + e*x)/(2*c**2*(a**2 - c**2*x**2)) - e*atanh(c*x/a)/(2*a*c**3)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0445996, size = 42, normalized size = 0.93 \[ \frac{\frac{c (d+e x)}{a^2-c^2 x^2}-\frac{e \tanh ^{-1}\left (\frac{c x}{a}\right )}{a}}{2 c^3} \]

Antiderivative was successfully verified.

[In]  Integrate[(x*(d + e*x))/(a^2 - c^2*x^2)^2,x]

[Out]

((c*(d + e*x))/(a^2 - c^2*x^2) - (e*ArcTanh[(c*x)/a])/a)/(2*c^3)

_______________________________________________________________________________________

Maple [B]  time = 0.016, size = 96, normalized size = 2.1 \[ -{\frac{e\ln \left ( cx+a \right ) }{4\,a{c}^{3}}}-{\frac{e}{4\,{c}^{3} \left ( cx+a \right ) }}+{\frac{d}{4\,a{c}^{2} \left ( cx+a \right ) }}+{\frac{e\ln \left ( cx-a \right ) }{4\,a{c}^{3}}}-{\frac{e}{4\,{c}^{3} \left ( cx-a \right ) }}-{\frac{d}{4\,a{c}^{2} \left ( cx-a \right ) }} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x*(e*x+d)/(-c^2*x^2+a^2)^2,x)

[Out]

-1/4*e/a/c^3*ln(c*x+a)-1/4/c^3/(c*x+a)*e+1/4/a/c^2/(c*x+a)*d+1/4*e/a/c^3*ln(c*x-
a)-1/4/c^3/(c*x-a)*e-1/4/a/c^2/(c*x-a)*d

_______________________________________________________________________________________

Maxima [A]  time = 0.686012, size = 78, normalized size = 1.73 \[ -\frac{e x + d}{2 \,{\left (c^{4} x^{2} - a^{2} c^{2}\right )}} - \frac{e \log \left (c x + a\right )}{4 \, a c^{3}} + \frac{e \log \left (c x - a\right )}{4 \, a c^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)*x/(c^2*x^2 - a^2)^2,x, algorithm="maxima")

[Out]

-1/2*(e*x + d)/(c^4*x^2 - a^2*c^2) - 1/4*e*log(c*x + a)/(a*c^3) + 1/4*e*log(c*x
- a)/(a*c^3)

_______________________________________________________________________________________

Fricas [A]  time = 0.272542, size = 108, normalized size = 2.4 \[ -\frac{2 \, a c e x + 2 \, a c d +{\left (c^{2} e x^{2} - a^{2} e\right )} \log \left (c x + a\right ) -{\left (c^{2} e x^{2} - a^{2} e\right )} \log \left (c x - a\right )}{4 \,{\left (a c^{5} x^{2} - a^{3} c^{3}\right )}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)*x/(c^2*x^2 - a^2)^2,x, algorithm="fricas")

[Out]

-1/4*(2*a*c*e*x + 2*a*c*d + (c^2*e*x^2 - a^2*e)*log(c*x + a) - (c^2*e*x^2 - a^2*
e)*log(c*x - a))/(a*c^5*x^2 - a^3*c^3)

_______________________________________________________________________________________

Sympy [A]  time = 1.91618, size = 44, normalized size = 0.98 \[ - \frac{d + e x}{- 2 a^{2} c^{2} + 2 c^{4} x^{2}} + \frac{e \left (\frac{\log{\left (- \frac{a}{c} + x \right )}}{4} - \frac{\log{\left (\frac{a}{c} + x \right )}}{4}\right )}{a c^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x*(e*x+d)/(-c**2*x**2+a**2)**2,x)

[Out]

-(d + e*x)/(-2*a**2*c**2 + 2*c**4*x**2) + e*(log(-a/c + x)/4 - log(a/c + x)/4)/(
a*c**3)

_______________________________________________________________________________________

GIAC/XCAS [A]  time = 0.27324, size = 85, normalized size = 1.89 \[ -\frac{x e + d}{2 \,{\left (c^{2} x^{2} - a^{2}\right )} c^{2}} - \frac{e{\rm ln}\left ({\left | c x + a \right |}\right )}{4 \, a c^{3}} + \frac{e{\rm ln}\left ({\left | c x - a \right |}\right )}{4 \, a c^{3}} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((e*x + d)*x/(c^2*x^2 - a^2)^2,x, algorithm="giac")

[Out]

-1/2*(x*e + d)/((c^2*x^2 - a^2)*c^2) - 1/4*e*ln(abs(c*x + a))/(a*c^3) + 1/4*e*ln
(abs(c*x - a))/(a*c^3)